.class Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener;
.super Ljava/lang/Object;
.source "FacebookWrapper.java"

# interfaces
.implements Lcom/facebook/android/AsyncFacebookRunner$RequestListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/android/glympseservice/FacebookWrapper;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "LogoutRequestListener"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/glympse/android/glympseservice/FacebookWrapper;


# direct methods
.method constructor <init>(Lcom/glympse/android/glympseservice/FacebookWrapper;)V
    .locals 0
    .parameter

    .prologue
    .line 222
    iput-object p1, p0, Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener;->this$0:Lcom/glympse/android/glympseservice/FacebookWrapper;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method private CompleteSignOut()V
    .locals 3

    .prologue
    .line 228
    iget-object v0, p0, Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener;->this$0:Lcom/glympse/android/glympseservice/FacebookWrapper;

    invoke-static {v0}, Lcom/glympse/android/glympseservice/FacebookWrapper;->access$0(Lcom/glympse/android/glympseservice/FacebookWrapper;)Lcom/facebook/android/Facebook;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/facebook/android/Facebook;->setAccessToken(Ljava/lang/String;)V

    .line 229
    iget-object v0, p0, Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener;->this$0:Lcom/glympse/android/glympseservice/FacebookWrapper;

    invoke-static {v0}, Lcom/glympse/android/glympseservice/FacebookWrapper;->access$0(Lcom/glympse/android/glympseservice/FacebookWrapper;)Lcom/facebook/android/Facebook;

    move-result-object v0

    const-wide/16 v1, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/facebook/android/Facebook;->setAccessExpires(J)V

    .line 232
    iget-object v0, p0, Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener;->this$0:Lcom/glympse/android/glympseservice/FacebookWrapper;

    invoke-static {v0}, Lcom/glympse/android/glympseservice/FacebookWrapper;->access$2(Lcom/glympse/android/glympseservice/FacebookWrapper;)V

    .line 233
    return-void
.end method

.method static synthetic access$0(Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener;)V
    .locals 0
    .parameter

    .prologue
    .line 225
    invoke-direct {p0}, Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener;->CompleteSignOut()V

    return-void
.end method


# virtual methods
.method public onComplete(Ljava/lang/String;Ljava/lang/Object;)V
    .locals 2
    .parameter "response"
    .parameter "state"

    .prologue
    .line 238
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "FACEBOOK - LogoutRequestListener:onComplete: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 241
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    new-instance v1, Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener$1;

    invoke-direct {v1, p0}, Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener$1;-><init>(Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener;)V

    invoke-virtual {v0, v1}, Lcom/glympse/platform/Platform;->PostToMainThreadIfNeeded(Lcom/glympse/platform/GRunnable;)Z

    .line 251
    return-void
.end method

.method public onFacebookError(Lcom/facebook/android/FacebookError;Ljava/lang/Object;)V
    .locals 2
    .parameter "e"
    .parameter "state"

    .prologue
    .line 256
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "FACEBOOK - LogoutRequestListener:onFacebookError: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1}, Lcom/facebook/android/FacebookError;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 259
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    new-instance v1, Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener$2;

    invoke-direct {v1, p0}, Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener$2;-><init>(Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener;)V

    invoke-virtual {v0, v1}, Lcom/glympse/platform/Platform;->PostToMainThreadIfNeeded(Lcom/glympse/platform/GRunnable;)Z

    .line 266
    return-void
.end method

.method public onFileNotFoundException(Ljava/io/FileNotFoundException;Ljava/lang/Object;)V
    .locals 2
    .parameter "e"
    .parameter "state"

    .prologue
    .line 271
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "FACEBOOK - LogoutRequestListener:onFileNotFoundException: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1}, Ljava/io/FileNotFoundException;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 274
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    new-instance v1, Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener$3;

    invoke-direct {v1, p0}, Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener$3;-><init>(Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener;)V

    invoke-virtual {v0, v1}, Lcom/glympse/platform/Platform;->PostToMainThreadIfNeeded(Lcom/glympse/platform/GRunnable;)Z

    .line 281
    return-void
.end method

.method public onIOException(Ljava/io/IOException;Ljava/lang/Object;)V
    .locals 2
    .parameter "e"
    .parameter "state"

    .prologue
    .line 286
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "FACEBOOK - LogoutRequestListener:onIOException: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1}, Ljava/io/IOException;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 289
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    new-instance v1, Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener$4;

    invoke-direct {v1, p0}, Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener$4;-><init>(Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener;)V

    invoke-virtual {v0, v1}, Lcom/glympse/platform/Platform;->PostToMainThreadIfNeeded(Lcom/glympse/platform/GRunnable;)Z

    .line 296
    return-void
.end method

.method public onMalformedURLException(Ljava/net/MalformedURLException;Ljava/lang/Object;)V
    .locals 2
    .parameter "e"
    .parameter "state"

    .prologue
    .line 301
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "FACEBOOK - LogoutRequestListener:onMalformedURLException: "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p1}, Ljava/net/MalformedURLException;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 304
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v0

    new-instance v1, Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener$5;

    invoke-direct {v1, p0}, Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener$5;-><init>(Lcom/glympse/android/glympseservice/FacebookWrapper$LogoutRequestListener;)V

    invoke-virtual {v0, v1}, Lcom/glympse/platform/Platform;->PostToMainThreadIfNeeded(Lcom/glympse/platform/GRunnable;)Z

    .line 311
    return-void
.end method
